package com.ms.game.itembox;



/**
 * item掉落資料
 * @author TW15012
 *
 */
public class ItemSimpleData
{
		/**
		 * 代表水晶的道具 id
		 */
		public static final String CRYSTAL_ID = "CRYSTAL";
	
		private String itemid;
		
		private int count;
		
		/**
		 * item 的序號
		 */
		private String itemSn;
		
		/** 掉落道具是否為水晶
		 * @return
		 */
		public boolean isCrystal(){
			if(itemid.equals(CRYSTAL_ID)){
				return true;
			}
			
			return false;
		}

		public String getItemid() {
			return itemid;
		}

		public void setItemid(String itemid) {
			this.itemid = itemid;
		}

		public int getCount() {
			return count;
		}

		public void setCount(int count) {
			this.count = count;
		}

		public String getItemSn() {
			return itemSn;
		}

		public void setItemSn(String itemSn) {
			this.itemSn = itemSn;
		}
}
